import request from '@/utils/request'

export function getWorkFillList(params) {
  return request({
    url: '/api/sub-task/list',
    method: 'get',
    params
  })
}
export function getWorkOrderDetail(params) {
  return request({
    url: '/api/sub-task/show',
    method: 'get',
    params
  })
}
export function workOrderSubmitReport(data) {
  return request({
    url: '/api/sub-task/report',
    method: 'post',
    data
  })
}
export function workOrderFirst(data) {
  return request({
    url: '/api/sub-task/review1',
    method: 'post',
    data
  })
}
export function workOrderReset(data) {
  return request({
    url: '/api/sub-task/reset',
    method: 'post',
    data
  })
}
export function workOrderRepeat(data) {
  return request({
    url: '/api/sub-task/review2',
    method: 'post',
    data
  })
}
